package com.rem.designPattern.strategy策略;

/**
 * @author Rem
 * @date 2022-11-27
 */
public class Client {
    public static void main(String[] args) {
        SalesMan salesMan = new SalesMan(new ChristmasStrategy());
        salesMan.salesManShow();

        System.out.println("---------------");

        salesMan = new SalesMan(new SpringStrategy());
        salesMan.salesManShow();
    }
}
